<template>
  <div class="search">
    <van-swipe class="my-swipe" :autoplay="3000" indicator-color="white">
      <van-swipe-item :style="{height:props.configOption.imgHeight+'px'}" v-for="(item,index) in props.configOption.imageList" :key="index">
        <van-image
          :src="item.url"
        />
      </van-swipe-item>
    </van-swipe>
  </div>
</template>

<script setup>
import { ref, reactive, toRefs, onMounted } from "vue";

const props = defineProps({
  configOption: {
    type: Object,
    default: () => {},
  },
});

console.log(props.configOption);
</script>
<style scoped>
.title {
  height: 64px;
  line-height: 64px;
  width: 100%;
  background: #cccfff;
  text-align: center;
}
</style>
